package com.kangfawei.io;

import java.io.BufferedOutputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.PrintWriter;

public class PrintWriteTest {
    public static void main(String[] args) throws FileNotFoundException {
        PrintWriter pw = new PrintWriter(new BufferedOutputStream(new FileOutputStream("E:/IO_target/printWriter.txt")));
        pw.println("shuchu");
        pw.println(120);
        pw.close();
    }
}
